= simple_form_for @village, wrapper: :input_form do |f|
  = f.error_notification

  - @village.errors.full_messages.each do |message|
    li = message

  = f.input :name, label: '小区名', placeholder: "小区名", required: false
  = f.input :address, label: '地址', placeholder: "地址", required: false
  = f.button :submit, '保存', class: "btn btn-primary"
  = link_to '返回', editors_path, class: "btn btn-info"
